<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>大事件 呐</title>
    <!-- 引入layui.css文件 -->
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <!-- 引入本页面的css文件 -->
    <link rel="stylesheet" href="/assets/css/index.css">
    <!-- 引入字体图标css文件 -->
    <link rel="stylesheet" href="/assets/fonts/iconfont.css">


</head>

<body>
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo layui-hide-xs head">
                <img src="/assets/images/sample.jpg" class="layui-nav-img">
                <span class="textImg"></span>
                <span class="welcome">欢迎: XXX</span>
            </div>
            <!-- 头部区域（可配合layui 已有的水平导航） -->
            <ul class="layui-nav layui-layout-left">
                <!-- 移动端显示 -->
                <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
                    <i class="layui-icon layui-icon-spread-left"></i>
                </li>
                <li class="layui-hide-xs log-bg">
                    <a href="">
                        <div class="log"></div>
                    </a>
                </li>

            </ul>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item layui-hide layui-show-md-inline-block">
                    <a href="javascript:;">
                        <img src="/assets/images/sample.jpg" class="layui-nav-img">
                        <span class="textImg"></span>
                        个人中心<i class="layui-icon layui-icon-down" style="margin-left: 10px;"></i>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="/user/user_info.html" target="fm">基本资料</a></dd>
                        <dd><a href="/user/user_avatar.html" target="fm">更换头像</a></dd>
                        <dd><a href="/user/user_pwd.html" target="fm">重置密码</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
                    <a href="javascript:;" class="tuichu">
                        <i class="iconfont icon-tuichu"></i>
                        退出
                    </a>
                </li>
            </ul>
        </div>

        <div class="layui-side ">
            <div class="layui-side-scroll">
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <!-- lay-shrink 收缩全部兄弟菜单子菜单 给ul加 -->
                <ul lay-shrink="all" class="layui-nav layui-nav-tree">
                    <!-- layui-this 这个类名 控制是否是当前元素被选中 -->
                    <li class="layui-nav-item">
                    <li class="layui-nav-item layui-this">
                        <!-- a链接里面 target="_blank" 是在新的标签页打开"-->
                        <!-- target="_self" 是在本的标签页打开"-->
                        <!-- a 链接里面 target="" 是在新的标签页打开"-->
                        <!-- 注意： a链接想要跳转到 iframe标签中 那么target的值就写 iframe的name属性值-->
                        <!-- 如果想要默认值  src="" 里面的值就-->
                        <a href="/home/dashboard.html" target="fm"><i class="iconfont icon-home"></i>首页</a>
                    </li>
                    <!-- layui-nav-itemed 这个类名表示 某个折叠项是否展开 -->
                    <li class="layui-nav-item ">
                        <a class="" href="javascript:;"><i class="iconfont icon-16"></i>文章管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="/article/article_cates.html" target="fm"><i
                                        class="layui-icon layui-icon-app"></i>文章分类</a>
                            </dd>
                            <dd><a href="/article/article_list.html" target="fm"><i
                                        class="layui-icon layui-icon-app"></i>文章列表</a></dd>
                            <dd><a href="/article/article_add.html" target="fm"><i
                                        class="layui-icon layui-icon-app"></i>发表文章</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;"><i class="iconfont icon-user"></i>个人中心</a>
                        <dl class="layui-nav-child">
                            <dd><a href="/user/user_info.html" target="fm">
                                    <i class="layui-icon layui-icon-app"></i>基本资料</a></dd>
                            <dd><a href="/user/user_avatar.html" target="fm">
                                    <i class="layui-icon layui-icon-app"></i>更换头像</a></dd>
                            <dd><a href="/user/user_pwd.html" target="fm">
                                    <i class="layui-icon layui-icon-app"></i>重置密码</a></dd>
                        </dl>
                    </li>

                </ul>
            </div>
        </div>

        <div class="layui-body">
            <!-- 内容主体区域 -->
            <!-- iframe -->
            <iframe src="/home/dashboard.html" name="fm" frameborder="0"></iframe>
        </div>

        <div class="layui-footer">
            <!-- 底部固定区域 -->
            escook ©2022 Created by 小方同学
        </div>
    </div>

    <!-- 引入jq.js文件 -->
    <script src="/assets/lib/jquery.js"></script>
    <!-- 引入axios.js -->
    <script src="/assets/lib/dist/axios.js"></script>
    <!-- 引入commit.js -->
    <script src="/assets/js/commit.js"></script>
    <!-- 引入layui.js文件 -->
    <script src="/assets/lib/layui/layui.all.js"></script>
    <!-- 引入自己的js -->
    <script src="/assets/js/index.js"></script>
</body>

</html>